<form name="form_admin" method="post" action="<?php echo formAction('updatestatusvideo')?>">
    <table width="100%"  cellpadding="4" cellspacing="1" id="tblsort">
    	<tr class="headtb" nodrop="true" nodrag="true">
    		<td width="5%" ><?php echo _ORDER?></td>
            <td width="5%"><?php echo inputCheckAll()?></td>
    		<td width="20%" >Content Name</td>
    		<td width="10%" ><?php echo _STATUS?></td>
    		<td width="20%" ><?php echo _ACTIONS?></td>
    		<td>&nbsp;</td>
    	</tr>
        <?php
        if(!is_array($videos))$videos=array();
    	foreach($videos as $i => $video)
    	{
    	?>
    	<tr>
    		<td align=center>
    			<input class="ordertext" id="listorder_<?php echo $i?>" name="listorder[]"
    			value="<?php echo getOrderList($i)?>">
    		</td>
            <td align="center"><?php echo inputCheck($video['iId'])?></td>
    		<td nowrap="nowrap">
                <?php echo linkAction('editvideo',$video["cName"],'id='.$video["iId"])?>
    		      <input type="hidden" name="listid[]" value="<?php echo $video["iId"]?>" />
    		</td>
    		<td align=center>
    			<select name="liststatus[]" id="iStatus_content_<?php echo $i ?>">
    				<?php echo  liststatus($video["iStatus"]);?>
    			</select>
    		</td>

    		<td align=center>
    			<?php echo linkAction('editvideo',_EDIT,'id='.$video["iId"])?> -
                <?php echo linkAction('delvideo',_DELETE,'id='.$video["iId"])?>
    		</td>
    		<td></td>
    		</tr>
    	<?php
    	}
        if(count($videos)==0)
        {
        ?>
        <tr>
             <td align="center" colspan="5">
                <font color="Red">Not found video</font>
            </td>
        </tr>
        <script>showhide('applybut');showhide('delbut');</script>
        <?php
        }
    	?>
    </table>
	<?php echo $show_page?>
</form>
<script type="text/javascript">
(new TableDnD).init("tblsort");
</script>